<!-- Dom模板 -->
<template>
  <div class="buy-big">
    <!-- <h1 class="animate__animated animate__bounceInRight">An animated element</h1> -->
    <!-- Dom内容 -->
    <div class="buy-top">
      <div>
        <span @click="goMy" class="iconfont icon-lt"></span>
        <span>我的购买</span>
      </div>
      <!-- <div>
        <span class="iconfont icon-weixinxiaochengxu"></span>
      </div> -->
    </div>
    <div class="btns animate__animated animate__bounceInDown animate__fast">
      <!-- <button>购买故事</button>
      <button>购买会员</button> -->
      <SecondNav/>
    </div>
    <div>
      <router-view></router-view>
    </div>
    
    
  </div>
</template>

<script>
// import a from './a'; // 引入组件
import SecondNav from '../../../components/bottom/secondNav.vue'
import animated from 'animate.css';
export default {
  name: "",
  data() {
    return {
      msg: "测试",
    };
  },
 components: { SecondNav },
  // 生命周期 - 创建完成（访问当前this实例）
  created() {},
  // 生命周期 - 挂载完成（访问DOM元素）
  mounted() {},
  // Vue方法定义
  methods: {
    goMy(){
      this.$router.push("/my")
    }
  },
};
</script>

<style scoped>
@import url("../../../assets/font/iconfont.css");

/* @import url(''); 引入css类 */
.buy-big {
  width: 100vw;
  height: 100vh;
  background: white;
  overflow-x: hidden;
  overflow-y: auto;
  position: fixed;
  z-index: 88;
}

.animate__animated.animate__bounce {
  --animate-duration: 2s;
}

:root {
  --animate-duration: 800ms;
  --animate-delay: 0.9s;
}
.buy-top {
  width: 414px;
  height: 88px;
  background-color: rgba(255, 255, 255, 100);
  /* line-height: 88px; */
  display: flex;
  align-items: flex-end;
  padding-bottom: 9px;
}
.buy-top div:nth-child(1) span:nth-child(1) {
  width: 24px;
  height: 24px;
  margin-left: 14px;
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;

  display: inline-block;
  color: rgba(195, 195, 195, 100);
}
.buy-top div:nth-child(1) span:nth-child(2) {
  width: 123px;
  height: 25px;
  font-weight: 900;

  color: rgba(16, 16, 16, 100);
  font-size: 18px;
  text-align: left;
  display: inline-block;
  margin-left: 17px;
  line-height: 25px;
  font-family: PingFangSC-regular;
}
.buy-top div:nth-child(1) span:nth-child(1).icon-lt {
  width: 24px;
  height: 24px;
  font-size: 24px;
}
.buy-top div:nth-child(2) {
  margin-left: 127px;
}
.buy-top div:nth-child(2) span {
  width: 87px;
  height: 32px;
  font-size: 32px;
  line-height: 20px;
  margin-right: 16px;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 100);
  text-align: center;
  border: 1px solid rgba(232, 232, 232, 100);
}
.btns {
  margin-top: 14px;
}


</style>